package mce.system.configuration;

import mce.system.configuration.definition.QuoteStepCode;
import mce.system.constant.StringConstant;

public class ProcessStep {
	private String _GROUP_NAME; // Group name
	private String _GROUP_TEXT; // Group text
	private String _TEXT_DESCRIPTION; // The text description
	private String _JOBNAME;
	private boolean hasBackButton;
	private String backButtonText;
	private boolean hasNextButton;
	private String nextButtonText;
	private String backStepCode;
	private String nextStepCode;
	
	public ProcessStep(String _GROUP_NAME,
			String _GROUP_TEXT, 
			String _TEXT_DESCRIPTION, 
			String _JOBNAME,
			boolean hasBackButton, 
			String backButtonText, 
			boolean hasNextButton,
			String nextButtonText,
			String backStepCode,
			String nextStepCode) {
		this._GROUP_NAME = _GROUP_NAME;
		this._GROUP_TEXT = _GROUP_TEXT;
		this._TEXT_DESCRIPTION = _TEXT_DESCRIPTION;
		this._JOBNAME = _JOBNAME;
		this.hasBackButton = hasBackButton;
		this.backButtonText = backButtonText;
		this.hasNextButton = hasNextButton;
		this.nextButtonText = nextButtonText;
		this.backStepCode = backStepCode;
		this.nextStepCode = nextStepCode;
	}
	public ProcessStep() {
		this._GROUP_NAME = Characteristic.BLANK;
		this._GROUP_TEXT = Characteristic.BLANK;
		this._TEXT_DESCRIPTION=Characteristic.BLANK;
		this._JOBNAME = Characteristic.BLANK;
		this.hasBackButton = Boolean.TRUE;
		this.backButtonText = StringConstant.BACK_BUTTON_DEFAULT;
		this.hasNextButton = Boolean.TRUE;
		this.nextButtonText = StringConstant.NEXT_BUTTON_DEFAULT;
		this.backStepCode = QuoteStepCode.JOB_INFORMATION_ID.getValue();
		this.nextStepCode = QuoteStepCode.JOB_INFORMATION_ID.getValue();
	}
	/**
	 * @return the _GROUP_NAME
	 */
	public String get_GROUP_NAME() {
		return _GROUP_NAME;
	}
	/**
	 * @param _GROUP_NAME the _GROUP_NAME to set
	 */
	public void set_GROUP_NAME(String _GROUP_NAME) {
		this._GROUP_NAME = _GROUP_NAME;
	}
	/**
	 * @return the _GROUP_TEXT
	 */
	public String get_GROUP_TEXT() {
		return _GROUP_TEXT;
	}
	/**
	 * @param _GROUP_TEXT the _GROUP_TEXT to set
	 */
	public void set_GROUP_TEXT(String _GROUP_TEXT) {
		this._GROUP_TEXT = _GROUP_TEXT;
	}
	/**
	 * @return the _TEXT_DESCRIPTION
	 */
	public String get_TEXT_DESCRIPTION() {
		return _TEXT_DESCRIPTION;
	}
	/**
	 * @param _TEXT_DESCRIPTION the _TEXT_DESCRIPTION to set
	 */
	public void set_TEXT_DESCRIPTION(String _TEXT_DESCRIPTION) {
		this._TEXT_DESCRIPTION = _TEXT_DESCRIPTION;
	}
	/**
	 * @return the _JOBNAME
	 */
	public String get_JOBNAME() {
		return _JOBNAME;
	}
	/**
	 * @param _JOBNAME the _JOBNAME to set
	 */
	public void set_JOBNAME(String _JOBNAME) {
		this._JOBNAME = _JOBNAME;
	}
	/**
	 * @return the hasBackButton
	 */
	public boolean isHasBackButton() {
		return hasBackButton;
	}
	/**
	 * @param hasBackButton the hasBackButton to set
	 */
	public void setHasBackButton(boolean hasBackButton) {
		this.hasBackButton = hasBackButton;
	}
	/**
	 * @return the backButtonText
	 */
	public String getBackButtonText() {
		return backButtonText;
	}
	/**
	 * @param backButtonText the backButtonText to set
	 */
	public void setBackButtonText(String backButtonText) {
		this.backButtonText = backButtonText;
	}
	/**
	 * @return the hasNextButton
	 */
	public boolean isHasNextButton() {
		return hasNextButton;
	}
	/**
	 * @param hasNextButton the hasNextButton to set
	 */
	public void setHasNextButton(boolean hasNextButton) {
		this.hasNextButton = hasNextButton;
	}
	/**
	 * @return the nextButtonText
	 */
	public String getNextButtonText() {
		return nextButtonText;
	}
	/**
	 * @param nextButtonText the nextButtonText to set
	 */
	public void setNextButtonText(String nextButtonText) {
		this.nextButtonText = nextButtonText;
	}
	/**
	 * @return the backStepCode
	 */
	public String getBackStepCode() {
		return backStepCode;
	}
	/**
	 * @param backStepCode the backStepCode to set
	 */
	public void setBackStepCode(String backStepCode) {
		this.backStepCode = backStepCode;
	}
	/**
	 * @return the nextStepCode
	 */
	public String getNextStepCode() {
		return nextStepCode;
	}
	/**
	 * @param nextStepCode the nextStepCode to set
	 */
	public void setNextStepCode(String nextStepCode) {
		this.nextStepCode = nextStepCode;
	}
	
}
